package com.jeeplus.modules.sys.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.core.persistence.DataEntity;

import java.util.Date;

/**
 * @author xujin
 * @title: cgDetail
 * @projectName ESA_SX
 * @description: TODO
 * @date 2020-04-159:40
 */
public class GgzyDetail extends DataEntity<GgzyDetail> {

    private static final long serialVersionUID = 1L;

    private User 	currentUser;		        // 当前用户
    private String      company;				    //所属公司
    private String      companyname;				//所属公司
    private String      buyarchivesno;			    //采购合同号
    private String      sellarchivesno;			    //销售合同号
    private String      vin;			            //VIN号
    private String      typeDesignName;			    //设计型号
    private String      modellname;				    //车型
    private String      brandname;				    //品牌
    private String      csname;				        //品系
    private String      bx;				            //版型
    private String      qd;				            //驱动
    private String      fdjxhName;				    //发动机
    private String      xxpz;				        //车辆详细配置
    private String      ywy;				        //业务员
    private Date        sjzprq;				        //实际装配日期
    private Date        ysrkrq;				        //原始入库日期
    private Date        rkrq;				        //入库日期
    private int         rkts;				        //入库天数
    private Date        fcrq;				        //发车日期
    private String      jcd;				        //接车点
    private Date        dhrq;				        //到货日期
    private int         dhts;				        //到货天数
    private Date        xtysrq;				        //系统已售日期
    private int         xtysts;				        //系统已售天数
    private String      type;	//数量
    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getCompanyname() {
        return companyname;
    }

    public void setCompanyname(String companyname) {
        this.companyname = companyname;
    }

    public String getBuyarchivesno() {
        return buyarchivesno;
    }

    public void setBuyarchivesno(String buyarchivesno) {
        this.buyarchivesno = buyarchivesno;
    }

    public String getSellarchivesno() {
        return sellarchivesno;
    }

    public void setSellarchivesno(String sellarchivesno) {
        this.sellarchivesno = sellarchivesno;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getTypeDesignName() {
        return typeDesignName;
    }

    public void setTypeDesignName(String typeDesignName) {
        this.typeDesignName = typeDesignName;
    }

    public String getModellname() {
        return modellname;
    }

    public void setModellname(String modellname) {
        this.modellname = modellname;
    }

    public String getBrandname() {
        return brandname;
    }

    public void setBrandname(String brandname) {
        this.brandname = brandname;
    }

    public String getCsname() {
        return csname;
    }

    public void setCsname(String csname) {
        this.csname = csname;
    }

    public String getBx() {
        return bx;
    }

    public void setBx(String bx) {
        this.bx = bx;
    }

    public String getQd() {
        return qd;
    }

    public void setQd(String qd) {
        this.qd = qd;
    }

    public String getFdjxhName() {
        return fdjxhName;
    }

    public void setFdjxhName(String fdjxhName) {
        this.fdjxhName = fdjxhName;
    }

    public String getXxpz() {
        return xxpz;
    }

    public void setXxpz(String xxpz) {
        this.xxpz = xxpz;
    }

    public String getYwy() {
        return ywy;
    }


    public void setYwy(String ywy) {
        this.ywy = ywy;
    }

    @JsonFormat(pattern = "yyyy-MM-dd")
    public Date getSjzprq() {
        return sjzprq;
    }

    public void setSjzprq(Date sjzprq) {
        this.sjzprq = sjzprq;
    }

    @JsonFormat(pattern = "yyyy-MM-dd")
    public Date getYsrkrq() {
        return ysrkrq;
    }

    public void setYsrkrq(Date ysrkrq) {
        this.ysrkrq = ysrkrq;
    }

    @JsonFormat(pattern = "yyyy-MM-dd")
    public Date getRkrq() {
        return rkrq;
    }

    public void setRkrq(Date rkrq) {
        this.rkrq = rkrq;
    }

    public int getRkts() {
        return rkts;
    }

    public void setRkts(int rkts) {
        this.rkts = rkts;
    }

    @JsonFormat(pattern = "yyyy-MM-dd")
    public Date getFcrq() {
        return fcrq;
    }

    public void setFcrq(Date fcrq) {
        this.fcrq = fcrq;
    }

    public String getJcd() {
        return jcd;
    }

    public void setJcd(String jcd) {
        this.jcd = jcd;
    }

    @JsonFormat(pattern = "yyyy-MM-dd")
    public Date getDhrq() {
        return dhrq;
    }

    public void setDhrq(Date dhrq) {
        this.dhrq = dhrq;
    }

    public int getDhts() {
        return dhts;
    }

    public void setDhts(int dhts) {
        this.dhts = dhts;
    }

    @JsonFormat(pattern = "yyyy-MM-dd")
    public Date getXtysrq() {
        return xtysrq;
    }

    public void setXtysrq(Date xtysrq) {
        this.xtysrq = xtysrq;
    }

    public int getXtysts() {
        return xtysts;
    }

    public void setXtysts(int xtysts) {
        this.xtysts = xtysts;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public User getCurrentUser() {
        return currentUser;
    }

    @Override
    public void setCurrentUser(User currentUser) {
        this.currentUser = currentUser;
    }
}
